#include <iostream>
#include <cmath>

#include <ctime>

#include <cstdlib>

using namespace std;

int	main(int argc, char **argv)
{

  double m = 0.1;

  double n =cos(m);

  cout << m << "-----" << n << endl;

  // 生成随机种子
  srand(unsigned(time(NULL)));

  for (int i = 0; i < 10; i++)
  {
    cout << "随机数：" << rand() << endl;
  }

  // system("pause");
  return 0;
}
